package com.lej.dataservice.club.provider

import com.alibaba.android.arouter.facade.template.IProvider
import com.alibaba.android.arouter.launcher.ARouter
import com.lej.core.router.CRouter
import com.lej.dataservice.club.bean.push.PushPayloadInfo


/**
 * Created by thinkpad on 2018/1/29.
 * 旅游服务
 */
interface IPushDispatchProvider : IProvider {
    fun dispatchPayload(payload: PushPayloadInfo?)

    companion object {
        val instance
            get() = ARouter.getInstance()
                .build(CRouter.pushDispatcher)
                .navigation() as IPushDispatchProvider?
    }
}